home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-04-08 | 11.8 KB | [TEXT/MMCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Sat Apr 8 21:53:16 1995, modified Sat Apr 8 21:53:16 1995, creator 'MMCC', type ASCII, 11271 bytes "DSUtils.c" , at 0x2c87 504 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 44 53 55 74 69 6c | 73 2e 63 00 00 00 00 00 |..DSUtil|s.c.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 00 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 2c 07 00 | 00 01 f8 ab ac ee 8c ab |.....,..|........|
|00000060| ac ee 8c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 35 0b 00 00 |........|....5...|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0d |********|*******.|
|000000d0| 2a 2a 0d 2a 2a 20 20 50 | 72 6f 6a 65 63 74 20 4e |**.** P|roject N|
|000000e0| 61 6d 65 3a 09 44 72 6f | 70 53 68 65 6c 6c 0d 2a |ame:.Dro|pShell.*|
|000000f0| 2a 20 20 20 20 20 46 69 | 6c 65 20 4e 61 6d 65 3a |* Fi|le Name:|
|00000100| 09 44 53 55 74 69 6c 73 | 2e 63 0d 2a 2a 0d 2a 2a |.DSUtils|.c.**.**|
|00000110| 20 20 20 44 65 73 63 72 | 69 70 74 69 6f 6e 3a 09 | Descr|iption:.|
|00000120| 55 74 69 6c 69 74 79 20 | 72 6f 75 74 69 6e 65 73 |Utility |routines|
|00000130| 20 74 68 61 74 20 6d 61 | 79 20 62 65 20 75 73 65 | that ma|y be use|
|00000140| 66 75 6c 20 74 6f 20 44 | 72 6f 70 42 6f 78 65 73 |ful to D|ropBoxes|
|00000150| 0d 2a 2a 0d 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.**.****|********|
|00000160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001a0| 2a 2a 2a 0d 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |***.** | |
|000001b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 20 55 | | A U|
|000001c0| 20 54 20 48 20 4f 20 52 | 20 20 20 49 20 44 20 45 | T H O R| I D E|
|000001d0| 20 4e 20 54 20 49 20 54 | 20 59 0d 2a 2a 2a 2a 2a | N T I T| Y.*****|
|000001e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0d 2a 2a 0d 2a 2a |********|**.**.**|
|00000230| 09 49 6e 69 74 69 61 6c | 73 09 4e 61 6d 65 0d 2a |.Initial|s.Name.*|
|00000240| 2a 09 2d 2d 2d 2d 2d 2d | 2d 2d 09 2d 2d 2d 2d 2d |*.------|--.-----|
|00000250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 2a 2a 09 53 43 |--------|--.**.SC|
|00000280| 53 09 09 09 53 74 65 70 | 68 61 6e 20 53 6f 6d 6f |S...Step|han Somo|
|00000290| 67 79 69 0d 2a 2a 09 4c | 44 52 09 09 09 4c 65 6f |gyi.**.L|DR...Leo|
|000002a0| 6e 61 72 64 20 52 6f 73 | 65 6e 74 68 6f 6c 0d 2a |nard Ros|enthol.*|
|000002b0| 2a 0d 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |*.******|********|
|000002c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000002f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000300| 2a 0d 2a 2a 20 20 20 20 | 20 20 20 20 20 20 20 20 |*.** | |
|00000310| 20 20 20 20 20 20 20 20 | 20 20 52 20 45 20 56 20 | | R E V |
|00000320| 49 20 53 20 49 20 4f 20 | 4e 20 20 20 48 20 49 20 |I S I O |N H I |
|00000330| 53 20 54 20 4f 20 52 20 | 59 0d 2a 2a 2a 2a 2a 2a |S T O R |Y.******|
|00000340| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000350| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000360| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000370| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000380| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 2a 2a 0d 2a 2a 09 |********|*.**.**.|
|00000390| 20 20 44 61 74 65 09 09 | 41 75 74 68 6f 72 09 44 | Date..|Author.D|
|000003a0| 65 73 63 72 69 70 74 69 | 6f 6e 0d 2a 2a 09 2d 2d |escripti|on.**.--|
|000003b0| 2d 2d 2d 2d 2d 2d 2d 09 | 2d 2d 2d 2d 2d 2d 09 2d |-------.|------.-|
|000003c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 2a 2a 09 |--------|----.**.|
|000003f0| 32 33 20 4a 75 6e 20 39 | 34 09 4c 44 52 09 09 41 |23 Jun 9|4.LDR..A|
|00000400| 64 64 65 64 20 61 20 62 | 75 6e 63 68 20 6f 66 20 |dded a b|unch of |
|00000410| 6e 65 77 20 72 6f 75 74 | 69 6e 65 73 20 66 6f 72 |new rout|ines for|
|00000420| 20 4d 61 72 73 68 61 6c | 6c 0d 2a 2a 09 32 30 20 | Marshal|l.**.20 |
|00000430| 46 65 62 20 39 34 09 4c | 44 52 09 09 41 64 64 65 |Feb 94.L|DR..Adde|
|00000440| 64 20 73 6f 6d 65 20 6e | 65 77 20 75 73 65 66 75 |d some n|ew usefu|
|00000450| 6c 20 46 69 6c 65 20 53 | 79 73 74 65 6d 20 72 6f |l File S|ystem ro|
|00000460| 75 74 69 6e 65 73 0d 2a | 2a 09 31 31 20 44 65 63 |utines.*|*.11 Dec|
|00000470| 20 39 33 09 53 43 53 09 | 09 55 6e 69 76 65 72 73 | 93.SCS.|.Univers|
|00000480| 61 6c 20 48 65 61 64 65 | 72 73 2f 55 50 50 73 20 |al Heade|rs/UPPs |
|00000490| 28 50 68 6f 65 6e 69 78 | 20 36 38 6b 2f 50 50 43 |(Phoenix| 68k/PPC|
|000004a0| 20 26 20 50 50 43 43 29 | 0d 2a 2a 09 09 09 09 09 | & PPCC)|.**.....|
|000004b0| 09 53 6b 69 70 70 65 64 | 20 53 79 73 74 65 6d 20 |.Skipped| System |
|000004c0| 36 20 63 6f 6d 70 61 74 | 69 62 6c 65 20 72 65 76 |6 compat|ible rev|
|000004d0| 20 6f 66 20 44 72 6f 70 | 53 68 65 6c 6c 20 73 6f | of Drop|Shell so|
|000004e0| 75 72 63 65 0d 2a 2a 09 | 09 09 09 09 09 43 68 61 |urce.**.|.....Cha|
|000004f0| 6e 67 65 64 20 47 65 74 | 41 70 70 4e 61 6d 65 20 |nged Get|AppName |
|00000500| 74 6f 20 47 65 74 4d 79 | 41 70 70 4e 61 6d 65 20 |to GetMy|AppName |
|00000510| 28 53 74 64 43 4c 69 62 | 20 63 6f 6e 66 6c 69 63 |(StdCLib| conflic|
|00000520| 74 29 0d 2a 2a 09 31 32 | 2f 30 39 2f 39 31 09 4c |t).**.12|/09/91.L|
|00000530| 44 52 09 09 41 64 64 65 | 64 20 74 68 65 20 41 70 |DR..Adde|d the Ap|
|00000540| 70 6c 65 20 65 76 65 6e | 74 20 72 6f 75 74 69 6e |ple even|t routin|
|00000550| 65 73 0d 2a 2a 09 31 31 | 2f 32 34 2f 39 31 09 4c |es.**.11|/24/91.L|
|00000560| 44 52 09 09 4f 72 69 67 | 69 6e 61 6c 20 56 65 72 |DR..Orig|inal Ver|
|00000570| 73 69 6f 6e 0d 2a 2a 0d | 2a 2a 2a 2a 2a 2a 2a 2a |sion.**.|********|
|00000580| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000005c0| 2a 2a 2a 2a 2a 2a 2f 0d | 0d 23 69 6e 63 6c 75 64 |******/.|.#includ|
|000005d0| 65 20 3c 44 69 61 6c 6f | 67 73 2e 68 3e 0d 23 69 |e <Dialo|gs.h>.#i|
|000005e0| 6e 63 6c 75 64 65 20 3c | 54 79 70 65 73 2e 68 3e |nclude <|Types.h>|
|000005f0| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 22 44 53 47 6c |..#inclu|de "DSGl|
|00000600| 6f 62 61 6c 73 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |obals.h"|.#includ|
|00000610| 65 20 22 44 53 55 74 69 | 6c 73 2e 68 22 0d 0d 2f |e "DSUti|ls.h"../|
|00000620| 2a 0d 09 54 68 69 73 20 | 72 6f 75 74 69 6e 65 20 |*..This |routine |
|00000630| 69 73 20 75 73 65 64 20 | 74 6f 20 70 72 6f 70 65 |is used |to prope|
|00000640| 72 6c 79 20 63 65 6e 74 | 65 72 20 61 6e 20 41 6c |rly cent|er an Al|
|00000650| 65 72 74 20 62 65 66 6f | 72 65 20 73 68 6f 77 69 |ert befo|re showi|
|00000660| 6e 67 2e 0d 09 0d 09 49 | 74 20 69 73 20 70 65 72 |ng.....I|t is per|
|00000670| 20 48 75 6d 61 6e 20 49 | 6e 74 65 72 66 61 63 65 | Human I|nterface|
|00000680| 20 73 70 65 63 73 20 62 | 79 20 70 75 74 74 69 6e | specs b|y puttin|
|00000690| 67 20 69 74 20 69 6e 20 | 74 68 65 20 74 6f 70 20 |g it in |the top |
|000006a0| 31 2f 33 20 6f 66 20 73 | 63 72 65 65 6e 2e 0d 09 |1/3 of s|creen...|
|000006b0| 4e 4f 54 45 3a 20 54 68 | 69 73 20 73 61 6d 65 20 |NOTE: Th|is same |
|000006c0| 74 65 63 68 6e 69 71 75 | 65 20 63 61 6e 20 62 65 |techniqu|e can be|
|000006d0| 20 75 73 65 64 20 77 69 | 74 68 20 44 4c 4f 47 20 | used wi|th DLOG |
|000006e0| 72 65 73 6f 75 72 63 65 | 73 20 61 73 20 77 65 6c |resource|s as wel|
|000006f0| 6c 2e 0d 2a 2f 0d 0d 76 | 6f 69 64 20 43 65 6e 74 |l..*/..v|oid Cent|
|00000700| 65 72 41 6c 65 72 74 20 | 28 20 73 68 6f 72 74 20 |erAlert |( short |
|00000710| 74 68 65 49 44 20 29 20 | 7b 0d 09 73 68 6f 72 74 |theID ) |{..short|
|00000720| 09 09 74 68 65 58 2c 20 | 74 68 65 59 3b 0d 09 41 |..theX, |theY;..A|
|00000730| 6c 65 72 74 54 48 6e 64 | 6c 09 74 68 65 41 6c 65 |lertTHnd|l.theAle|
|00000740| 72 74 48 61 6e 64 6c 65 | 3b 0d 09 52 65 63 74 09 |rtHandle|;..Rect.|
|00000750| 09 73 63 72 65 65 6e 2c | 20 61 6c 72 74 3b 0d 09 |.screen,| alrt;..|
|00000760| 0d 09 74 68 65 41 6c 65 | 72 74 48 61 6e 64 6c 65 |..theAle|rtHandle|
|00000770| 20 3d 20 28 41 6c 65 72 | 74 54 48 6e 64 6c 29 20 | = (Aler|tTHndl) |
|00000780| 47 65 74 52 65 73 6f 75 | 72 63 65 20 28 20 27 41 |GetResou|rce ( 'A|
|00000790| 4c 52 54 27 2c 20 74 68 | 65 49 44 20 29 3b 0d 09 |LRT', th|eID );..|
|000007a0| 69 66 20 28 20 74 68 65 | 41 6c 65 72 74 48 61 6e |if ( the|AlertHan|
|000007b0| 64 6c 65 20 21 3d 20 4e | 55 4c 4c 20 29 20 7b 0d |dle != N|ULL ) {.|
|000007c0| 09 09 48 4c 6f 63 6b 20 | 28 28 48 61 6e 64 6c 65 |..HLock |((Handle|
|000007d0| 29 20 74 68 65 41 6c 65 | 72 74 48 61 6e 64 6c 65 |) theAle|rtHandle|
|000007e0| 20 29 3b 0d 0d 09 09 61 | 6c 72 74 20 3d 20 28 2a | );....a|lrt = (*|
|000007f0| 74 68 65 41 6c 65 72 74 | 48 61 6e 64 6c 65 29 2d |theAlert|Handle)-|
|00000800| 3e 62 6f 75 6e 64 73 52 | 65 63 74 3b 0d 09 09 73 |>boundsR|ect;...s|
|00000810| 63 72 65 65 6e 20 3d 20 | 71 64 2e 73 63 72 65 65 |creen = |qd.scree|
|00000820| 6e 42 69 74 73 2e 62 6f | 75 6e 64 73 3b 0d 09 09 |nBits.bo|unds;...|
|00000830| 0d 09 09 74 68 65 58 20 | 3d 20 28 28 20 73 63 72 |...theX |= (( scr|
|00000840| 65 65 6e 2e 72 69 67 68 | 74 20 2d 20 73 63 72 65 |een.righ|t - scre|
|00000850| 65 6e 2e 6c 65 66 74 20 | 29 20 2d 20 28 61 6c 72 |en.left |) - (alr|
|00000860| 74 2e 72 69 67 68 74 20 | 2d 20 61 6c 72 74 2e 6c |t.right |- alrt.l|
|00000870| 65 66 74 20 29 29 20 3e | 3e 20 31 3b 0d 09 09 74 |eft )) >|> 1;...t|
|00000880| 68 65 59 20 3d 20 28 28 | 20 73 63 72 65 65 6e 2e |heY = ((| screen.|
|00000890| 62 6f 74 74 6f 6d 20 2d | 20 73 63 72 65 65 6e 2e |bottom -| screen.|
|000008a0| 74 6f 70 20 29 20 2b 20 | 47 65 74 4d 42 61 72 48 |top ) + |GetMBarH|
|000008b0| 65 69 67 68 74 20 28 29 | 20 2d 20 28 61 6c 72 74 |eight ()| - (alrt|
|000008c0| 2e 62 6f 74 74 6f 6d 20 | 2d 20 61 6c 72 74 2e 74 |.bottom |- alrt.t|
|000008d0| 6f 70 29 29 20 3e 3e 20 | 31 3b 0d 09 09 74 68 65 |op)) >> |1;...the|
|000008e0| 59 20 2d 3d 20 28 20 73 | 63 72 65 65 6e 2e 62 6f |Y -= ( s|creen.bo|
|000008f0| 74 74 6f 6d 20 2d 20 73 | 63 72 65 65 6e 2e 74 6f |ttom - s|creen.to|
|00000900| 70 20 29 20 3e 3e 20 32 | 3b 09 2f 2a 20 74 68 69 |p ) >> 2|;./* thi|
|00000910| 73 20 6d 6f 76 65 73 20 | 69 74 20 75 70 20 66 6f |s moves |it up fo|
|00000920| 72 20 62 65 74 74 65 72 | 20 76 69 65 77 69 6e 67 |r better| viewing|
|00000930| 21 20 2a 2f 0d 09 09 4f | 66 66 73 65 74 52 65 63 |! */...O|ffsetRec|
|00000940| 74 20 28 20 26 28 2a 74 | 68 65 41 6c 65 72 74 48 |t ( &(*t|heAlertH|
|00000950| 61 6e 64 6c 65 29 2d 3e | 62 6f 75 6e 64 73 52 65 |andle)->|boundsRe|
|00000960| 63 74 2c 20 74 68 65 58 | 20 2d 20 61 6c 72 74 2e |ct, theX| - alrt.|
|00000970| 6c 65 66 74 2c 20 74 68 | 65 59 20 2d 20 61 6c 72 |left, th|eY - alr|
|00000980| 74 2e 74 6f 70 20 29 3b | 0d 09 7d 0d 09 09 0d 09 |t.top );|..}.....|
|00000990| 53 65 74 43 75 72 73 6f | 72 20 28 20 26 71 64 2e |SetCurso|r ( &qd.|
|000009a0| 61 72 72 6f 77 20 29 3b | 09 2f 2f 20 63 68 61 6e |arrow );|.// chan|
|000009b0| 67 65 20 74 68 69 73 20 | 66 6f 72 20 63 6f 64 65 |ge this |for code|
|000009c0| 20 72 65 73 6f 75 72 63 | 65 73 21 0d 7d 0d 0d 2f | resourc|es!.}../|
|000009d0| 2a 0d 09 54 68 69 73 20 | 72 6f 75 74 69 6e 65 20 |*..This |routine |
|000009e0| 69 73 20 6a 75 73 74 20 | 61 20 71 75 69 63 6b 20 |is just |a quick |
|000009f0| 26 20 64 69 72 74 79 20 | 65 72 72 6f 72 20 72 65 |& dirty |error re|
|00000a00| 70 6f 72 74 65 72 0d 2a | 2f 0d 0d 76 6f 69 64 20 |porter.*|/..void |
|00000a10| 45 72 72 6f 72 41 6c 65 | 72 74 20 28 20 73 68 6f |ErrorAle|rt ( sho|
|00000a20| 72 74 20 73 74 72 69 6e | 67 4c 69 73 74 49 44 2c |rt strin|gListID,|
|00000a30| 20 73 68 6f 72 74 20 73 | 74 72 69 6e 67 49 6e 64 | short s|tringInd|
|00000a40| 65 78 49 44 2c 20 73 68 | 6f 72 74 20 65 72 72 6f |exID, sh|ort erro|
|00000a50| 72 49 44 20 29 20 7b 0d | 09 23 64 65 66 69 6e 65 |rID ) {.|.#define|
|00000a60| 09 6b 41 6c 65 72 74 49 | 44 09 32 30 30 0d 09 53 |.kAlertI|D.200..S|
|00000a70| 74 72 32 35 35 09 70 61 | 72 61 6d 2c 20 65 72 72 |tr255.pa|ram, err|
|00000a80| 6f 72 53 74 72 3b 0d 0d | 09 4e 75 6d 54 6f 53 74 |orStr;..|.NumToSt|
|00000a90| 72 69 6e 67 20 28 20 65 | 72 72 6f 72 49 44 2c 20 |ring ( e|rrorID, |
|00000aa0| 65 72 72 6f 72 53 74 72 | 20 29 3b 0d 09 47 65 74 |errorStr| );..Get|
|00000ab0| 49 6e 64 53 74 72 69 6e | 67 20 28 20 70 61 72 61 |IndStrin|g ( para|
|00000ac0| 6d 2c 20 73 74 72 69 6e | 67 4c 69 73 74 49 44 2c |m, strin|gListID,|
|00000ad0| 20 73 74 72 69 6e 67 49 | 6e 64 65 78 49 44 20 29 | stringI|ndexID )|
|00000ae0| 3b 0d 09 50 61 72 61 6d | 54 65 78 74 20 28 20 70 |;..Param|Text ( p|
|00000af0| 61 72 61 6d 2c 20 20 65 | 72 72 6f 72 53 74 72 2c |aram, e|rrorStr,|
|00000b00| 20 4e 55 4c 4c 2c 20 4e | 55 4c 4c 20 29 3b 0d 09 | NULL, N|ULL );..|
|00000b10| 43 65 6e 74 65 72 41 6c | 65 72 74 20 28 20 6b 41 |CenterAl|ert ( kA|
|00000b20| 6c 65 72 74 49 44 20 29 | 3b 0d 09 28 76 6f 69 64 |lertID )|;..(void|
|00000b30| 29 20 41 6c 65 72 74 20 | 28 20 6b 41 6c 65 72 74 |) Alert |( kAlert|
|00000b40| 49 44 2c 20 4e 55 4c 4c | 20 29 3b 0d 7d 0d 0d 2f |ID, NULL| );.}../|
|00000b50| 2a 2a 2a 20 54 68 65 73 | 65 20 72 6f 75 74 69 6e |*** Thes|e routin|
|00000b60| 65 73 20 75 73 65 20 74 | 68 65 20 50 72 6f 63 65 |es use t|he Proce|
|00000b70| 73 73 20 4d 61 6e 61 67 | 65 72 20 74 6f 20 67 69 |ss Manag|er to gi|
|00000b80| 76 65 20 79 6f 75 20 69 | 6e 66 6f 72 6d 61 74 69 |ve you i|nformati|
|00000b90| 6f 6e 20 61 62 6f 75 74 | 20 79 6f 75 72 73 65 6c |on about| yoursel|
|00000ba0| 66 20 2a 2a 2a 2f 0d 0d | 0d 76 6f 69 64 20 47 65 |f ***/..|.void Ge|
|00000bb0| 74 4d 79 41 70 70 4e 61 | 6d 65 28 53 74 72 32 35 |tMyAppNa|me(Str25|
|00000bc0| 35 20 61 70 70 4e 61 6d | 65 29 09 7b 0d 09 4f 53 |5 appNam|e).{..OS|
|00000bd0| 45 72 72 09 09 09 09 65 | 72 72 3b 0d 09 50 72 6f |Err....e|rr;..Pro|
|00000be0| 63 65 73 73 49 6e 66 6f | 52 65 63 09 09 69 6e 66 |cessInfo|Rec..inf|
|00000bf0| 6f 3b 0d 09 50 72 6f 63 | 65 73 73 53 65 72 69 61 |o;..Proc|essSeria|
|00000c00| 6c 4e 75 6d 62 65 72 09 | 63 75 72 50 53 4e 3b 0d |lNumber.|curPSN;.|
|00000c10| 0d 09 65 72 72 20 3d 20 | 47 65 74 43 75 72 72 65 |..err = |GetCurre|
|00000c20| 6e 74 50 72 6f 63 65 73 | 73 28 26 63 75 72 50 53 |ntProces|s(&curPS|
|00000c30| 4e 29 3b 0d 09 0d 09 69 | 6e 66 6f 2e 70 72 6f 63 |N);....i|nfo.proc|
|00000c40| 65 73 73 49 6e 66 6f 4c | 65 6e 67 74 68 20 3d 20 |essInfoL|ength = |
|00000c50| 73 69 7a 65 6f 66 28 50 | 72 6f 63 65 73 73 49 6e |sizeof(P|rocessIn|
|00000c60| 66 6f 52 65 63 29 3b 09 | 2f 2f 20 41 4c 57 41 59 |foRec);.|// ALWAY|
|00000c70| 53 20 55 53 45 20 73 69 | 7a 65 6f 66 21 0d 09 69 |S USE si|zeof!..i|
|00000c80| 6e 66 6f 2e 70 72 6f 63 | 65 73 73 4e 61 6d 65 20 |nfo.proc|essName |
|00000c90| 3d 20 61 70 70 4e 61 6d | 65 3b 09 09 09 09 09 09 |= appNam|e;......|
|00000ca0| 09 2f 2f 20 73 6f 20 69 | 74 20 72 65 74 75 72 6e |.// so i|t return|
|00000cb0| 65 64 20 73 6f 6d 65 77 | 68 65 72 65 0d 09 69 6e |ed somew|here..in|
|00000cc0| 66 6f 2e 70 72 6f 63 65 | 73 73 41 70 70 53 70 65 |fo.proce|ssAppSpe|
|00000cd0| 63 20 3d 20 4e 55 4c 4c | 3b 09 09 09 09 09 09 09 |c = NULL|;.......|
|00000ce0| 2f 2f 20 49 20 64 6f 6e | 27 74 20 63 61 72 65 21 |// I don|'t care!|
|00000cf0| 0d 0d 09 65 72 72 20 3d | 20 47 65 74 50 72 6f 63 |...err =| GetProc|
|00000d00| 65 73 73 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 28 26 |essInfor|mation(&|
|00000d10| 63 75 72 50 53 4e 2c 20 | 26 69 6e 66 6f 29 3b 0d |curPSN, |&info);.|
|00000d20| 7d 0d 0d 0d 76 6f 69 64 | 20 47 65 74 41 70 70 46 |}...void| GetAppF|
|00000d30| 53 53 70 65 63 28 46 53 | 53 70 65 63 20 2a 61 70 |SSpec(FS|Spec *ap|
|00000d40| 70 53 70 65 63 29 09 7b | 0d 09 4f 53 45 72 72 09 |pSpec).{|..OSErr.|
|00000d50| 09 09 09 65 72 72 3b 0d | 09 53 74 72 32 35 35 09 |...err;.|.Str255.|
|00000d60| 09 09 09 61 70 70 4e 61 | 6d 65 3b 0d 09 50 72 6f |...appNa|me;..Pro|
|00000d70| 63 65 73 73 49 6e 66 6f | 52 65 63 09 09 69 6e 66 |cessInfo|Rec..inf|
|00000d80| 6f 3b 0d 09 50 72 6f 63 | 65 73 73 53 65 72 69 61 |o;..Proc|essSeria|
|00000d90| 6c 4e 75 6d 62 65 72 09 | 63 75 72 50 53 4e 3b 0d |lNumber.|curPSN;.|
|00000da0| 0d 09 65 72 72 20 3d 20 | 47 65 74 43 75 72 72 65 |..err = |GetCurre|
|00000db0| 6e 74 50 72 6f 63 65 73 | 73 28 26 63 75 72 50 53 |ntProces|s(&curPS|
|00000dc0| 4e 29 3b 0d 09 0d 09 69 | 6e 66 6f 2e 70 72 6f 63 |N);....i|nfo.proc|
|00000dd0| 65 73 73 49 6e 66 6f 4c | 65 6e 67 74 68 20 3d 20 |essInfoL|ength = |
|00000de0| 73 69 7a 65 6f 66 28 50 | 72 6f 63 65 73 73 49 6e |sizeof(P|rocessIn|
|00000df0| 66 6f 52 65 63 29 3b 09 | 2f 2f 20 41 4c 57 41 59 |foRec);.|// ALWAY|
|00000e00| 53 20 55 53 45 20 73 69 | 7a 65 6f 66 21 0d 09 69 |S USE si|zeof!..i|
|00000e10| 6e 66 6f 2e 70 72 6f 63 | 65 73 73 4e 61 6d 65 20 |nfo.proc|essName |
|00000e20| 3d 20 61 70 70 4e 61 6d | 65 3b 09 09 09 09 09 09 |= appNam|e;......|
|00000e30| 09 2f 2f 20 73 6f 20 69 | 74 20 72 65 74 75 72 6e |.// so i|t return|
|00000e40| 65 64 20 73 6f 6d 65 77 | 68 65 72 65 0d 09 69 6e |ed somew|here..in|
|00000e50| 66 6f 2e 70 72 6f 63 65 | 73 73 41 70 70 53 70 65 |fo.proce|ssAppSpe|
|00000e60| 63 20 3d 20 61 70 70 53 | 70 65 63 3b 09 09 09 09 |c = appS|pec;....|
|00000e70| 09 09 2f 2f 20 73 6f 20 | 69 74 20 63 61 6e 20 67 |..// so |it can g|
|00000e80| 65 74 20 72 65 74 75 72 | 6e 65 64 21 0d 0d 09 65 |et retur|ned!...e|
|00000e90| 72 72 20 3d 20 47 65 74 | 50 72 6f 63 65 73 73 49 |rr = Get|ProcessI|
|00000ea0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 28 26 63 75 72 50 |nformati|on(&curP|
|00000eb0| 53 4e 2c 20 26 69 6e 66 | 6f 29 3b 0d 7d 0d 0d 2f |SN, &inf|o);.}../|
|00000ec0| 2a 20 a5 a5 a5 20 46 69 | 6c 65 20 52 6f 75 74 69 |* ... Fi|le Routi|
|00000ed0| 6e 65 73 20 62 65 67 69 | 6e 20 68 65 72 65 20 a5 |nes begi|n here .|
|00000ee0| a5 a5 20 2a 2f 0d 2f 2a | 0d 09 54 68 69 73 20 72 |.. */./*|..This r|
|00000ef0| 6f 75 74 69 6e 65 20 69 | 73 20 75 73 65 64 20 74 |outine i|s used t|
|00000f00| 6f 20 66 6f 72 63 65 20 | 74 68 65 20 46 69 6e 64 |o force |the Find|
|00000f10| 65 72 20 28 61 73 20 6d | 75 63 68 20 61 73 20 69 |er (as m|uch as i|
|00000f20| 73 20 70 6f 73 73 69 62 | 6c 65 29 20 74 6f 20 75 |s possib|le) to u|
|00000f30| 70 64 61 74 65 0d 09 69 | 6e 66 6f 72 6d 61 74 69 |pdate..i|nformati|
|00000f40| 6f 6e 20 61 62 6f 75 74 | 20 61 20 6e 65 77 6c 79 |on about| a newly|
|00000f50| 20 63 68 61 6e 67 65 64 | 20 66 69 6c 65 20 6f 72 | changed| file or|
|00000f60| 20 66 6f 6c 64 65 72 2e | 20 20 0d 09 49 74 20 64 | folder.| ..It d|
|00000f70| 6f 65 73 20 74 68 69 73 | 20 62 79 20 63 68 61 6e |oes this| by chan|
|00000f80| 67 69 6e 67 20 74 68 65 | 20 6d 6f 64 69 66 69 63 |ging the| modific|
|00000f90| 61 74 69 6f 6e 20 64 61 | 74 65 20 6f 66 20 74 68 |ation da|te of th|
|00000fa0| 65 20 73 75 72 72 6f 75 | 6e 64 69 6e 67 20 66 6f |e surrou|nding fo|
|00000fb0| 6c 64 65 72 2e 0d 2a 2f | 0d 4f 53 45 72 72 20 46 |lder..*/|.OSErr F|
|00000fc0| 6f 72 63 65 46 69 6e 64 | 65 72 55 70 64 61 74 65 |orceFind|erUpdate|
|00000fd0| 28 46 53 53 70 65 63 20 | 2a 70 46 53 53 2c 20 42 |(FSSpec |*pFSS, B|
|00000fe0| 6f 6f 6c 65 61 6e 20 66 | 6c 75 73 68 29 0d 7b 0d |oolean f|lush).{.|
|00000ff0| 09 4f 53 45 72 72 09 09 | 09 6c 45 72 72 3b 0d 09 |.OSErr..|.lErr;..|
|00001000| 43 49 6e 66 6f 50 42 52 | 65 63 09 09 6c 43 42 6c |CInfoPBR|ec..lCBl|
|00001010| 6b 3b 0d 09 0d 09 69 66 | 20 28 70 46 53 53 2d 3e |k;....if| (pFSS->|
|00001020| 70 61 72 49 44 20 21 3d | 20 31 29 09 09 09 09 09 |parID !=| 1).....|
|00001030| 09 09 2f 2f 20 69 66 20 | 69 74 27 73 20 61 20 76 |..// if |it's a v|
|00001040| 6f 6c 20 74 68 65 6e 20 | 72 65 75 73 65 20 74 68 |ol then |reuse th|
|00001050| 65 20 4e 61 6d 65 53 74 | 72 0d 09 09 6c 43 42 6c |e NameSt|r...lCBl|
|00001060| 6b 2e 64 69 72 49 6e 66 | 6f 2e 69 6f 4e 61 6d 65 |k.dirInf|o.ioName|
|00001070| 50 74 72 20 3d 20 30 4c | 3b 0d 09 6c 43 42 6c 6b |Ptr = 0L|;..lCBlk|
|00001080| 2e 64 69 72 49 6e 66 6f | 2e 69 6f 56 52 65 66 4e |.dirInfo|.ioVRefN|
|00001090| 75 6d 20 3d 20 70 46 53 | 53 2d 3e 76 52 65 66 4e |um = pFS|S->vRefN|
|000010a0| 75 6d 3b 09 09 0d 09 6c | 43 42 6c 6b 2e 64 69 72 |um;....l|CBlk.dir|
|000010b0| 49 6e 66 6f 2e 69 6f 44 | 72 44 69 72 49 44 20 3d |Info.ioD|rDirID =|
|000010c0| 20 70 46 53 53 2d 3e 70 | 61 72 49 44 3b 0d 09 6c | pFSS->p|arID;..l|
|000010d0| 43 42 6c 6b 2e 64 69 72 | 49 6e 66 6f 2e 69 6f 46 |CBlk.dir|Info.ioF|
|000010e0| 44 69 72 49 6e 64 65 78 | 20 3d 20 30 3b 0d 09 6c |DirIndex| = 0;..l|
|000010f0| 43 42 6c 6b 2e 64 69 72 | 49 6e 66 6f 2e 69 6f 43 |CBlk.dir|Info.ioC|
|00001100| 6f 6d 70 6c 65 74 69 6f | 6e 20 3d 20 30 3b 0d 0d |ompletio|n = 0;..|
|00001110| 09 6c 45 72 72 20 3d 20 | 50 42 47 65 74 43 61 74 |.lErr = |PBGetCat|
|00001120| 49 6e 66 6f 53 79 6e 63 | 28 26 6c 43 42 6c 6b 29 |InfoSync|(&lCBlk)|
|00001130| 3b 0d 09 69 66 20 28 21 | 6c 45 72 72 29 20 7b 0d |;..if (!|lErr) {.|
|00001140| 09 09 47 65 74 44 61 74 | 65 54 69 6d 65 28 26 6c |..GetDat|eTime(&l|
|00001150| 43 42 6c 6b 2e 64 69 72 | 49 6e 66 6f 2e 69 6f 44 |CBlk.dir|Info.ioD|
|00001160| 72 4d 64 44 61 74 29 3b | 0d 09 09 6c 43 42 6c 6b |rMdDat);|...lCBlk|
|00001170| 2e 64 69 72 49 6e 66 6f | 2e 69 6f 44 72 44 69 72 |.dirInfo|.ioDrDir|
|00001180| 49 44 20 3d 20 70 46 53 | 53 2d 3e 70 61 72 49 44 |ID = pFS|S->parID|
|00001190| 3b 0d 09 09 6c 45 72 72 | 20 3d 20 50 42 53 65 74 |;...lErr| = PBSet|
|000011a0| 43 61 74 49 6e 66 6f 53 | 79 6e 63 28 26 6c 43 42 |CatInfoS|ync(&lCB|
|000011b0| 6c 6b 29 3b 0d 09 0d 09 | 09 69 66 20 28 28 21 6c |lk);....|.if ((!l|
|000011c0| 45 72 72 29 20 26 26 20 | 28 66 6c 75 73 68 29 29 |Err) && |(flush))|
|000011d0| 0d 09 09 09 6c 45 72 72 | 20 3d 20 46 6c 75 73 68 |....lErr| = Flush|
|000011e0| 56 6f 6c 28 6e 69 6c 2c | 20 70 46 53 53 2d 3e 76 |Vol(nil,| pFSS->v|
|000011f0| 52 65 66 4e 75 6d 29 3b | 0d 09 7d 0d 09 0d 09 72 |RefNum);|..}....r|
|00001200| 65 74 75 72 6e 20 28 6c | 45 72 72 29 3b 0d 7d 0d |eturn (l|Err);.}.|
|00001210| 0d 2f 2a 09 49 73 20 74 | 68 65 20 66 69 6c 65 20 |./*.Is t|he file |
|00001220| 69 6e 20 75 73 65 20 28 | 62 75 73 79 29 3f 20 2a |in use (|busy)? *|
|00001230| 2f 0d 42 6f 6f 6c 65 61 | 6e 20 46 53 70 49 73 42 |/.Boolea|n FSpIsB|
|00001240| 75 73 79 28 46 53 53 70 | 65 63 50 74 72 20 74 68 |usy(FSSp|ecPtr th|
|00001250| 65 46 69 6c 65 29 0d 7b | 0d 09 42 6f 6f 6c 65 61 |eFile).{|..Boolea|
|00001260| 6e 09 09 69 73 42 75 73 | 79 20 3d 20 66 61 6c 73 |n..isBus|y = fals|
|00001270| 65 3b 0d 09 4f 53 45 72 | 72 09 09 65 72 72 3b 0d |e;..OSEr|r..err;.|
|00001280| 09 43 49 6e 66 6f 50 42 | 52 65 63 09 63 69 70 62 |.CInfoPB|Rec.cipb|
|00001290| 3b 0d 09 0d 09 63 69 70 | 62 2e 68 46 69 6c 65 49 |;....cip|b.hFileI|
|000012a0| 6e 66 6f 2e 69 6f 43 6f | 6d 70 6c 65 74 69 6f 6e |nfo.ioCo|mpletion|
|000012b0| 09 3d 20 30 4c 3b 0d 09 | 63 69 70 62 2e 68 46 69 |.= 0L;..|cipb.hFi|
|000012c0| 6c 65 49 6e 66 6f 2e 69 | 6f 4e 61 6d 65 50 74 72 |leInfo.i|oNamePtr|
|000012d0| 09 3d 20 74 68 65 46 69 | 6c 65 2d 3e 6e 61 6d 65 |.= theFi|le->name|
|000012e0| 3b 0d 09 63 69 70 62 2e | 68 46 69 6c 65 49 6e 66 |;..cipb.|hFileInf|
|000012f0| 6f 2e 69 6f 56 52 65 66 | 4e 75 6d 09 3d 20 74 68 |o.ioVRef|Num.= th|
|00001300| 65 46 69 6c 65 2d 3e 76 | 52 65 66 4e 75 6d 3b 0d |eFile->v|RefNum;.|
|00001310| 09 63 69 70 62 2e 68 46 | 69 6c 65 49 6e 66 6f 2e |.cipb.hF|ileInfo.|
|00001320| 69 6f 46 44 69 72 49 6e | 64 65 78 09 3d 20 30 3b |ioFDirIn|dex.= 0;|
|00001330| 0d 09 63 69 70 62 2e 68 | 46 69 6c 65 49 6e 66 6f |..cipb.h|FileInfo|
|00001340| 2e 69 6f 44 69 72 49 44 | 09 09 3d 20 74 68 65 46 |.ioDirID|..= theF|
|00001350| 69 6c 65 2d 3e 70 61 72 | 49 44 3b 0d 09 65 72 72 |ile->par|ID;..err|
|00001360| 20 3d 20 50 42 47 65 74 | 43 61 74 49 6e 66 6f 53 | = PBGet|CatInfoS|
|00001370| 79 6e 63 28 26 63 69 70 | 62 29 3b 0d 09 69 66 20 |ync(&cip|b);..if |
|00001380| 28 21 65 72 72 29 20 7b | 0d 09 09 69 73 42 75 73 |(!err) {|...isBus|
|00001390| 79 20 3d 20 28 63 69 70 | 62 2e 68 46 69 6c 65 49 |y = (cip|b.hFileI|
|000013a0| 6e 66 6f 2e 69 6f 46 6c | 41 74 74 72 69 62 20 26 |nfo.ioFl|Attrib &|
|000013b0| 20 30 78 38 30 29 20 3d | 3d 20 30 78 38 30 3b 09 | 0x80) =|= 0x80;.|
|000013c0| 2f 2f 20 62 69 74 20 37 | 20 3d 20 65 69 74 68 65 |// bit 7| = eithe|
|000013d0| 72 20 66 6f 72 6b 20 6f | 70 65 6e 0d 09 7d 0d 09 |r fork o|pen..}..|
|000013e0| 72 65 74 75 72 6e 28 69 | 73 42 75 73 79 29 3b 0d |return(i|sBusy);.|
|000013f0| 7d 0d 0d 2f 2a 09 49 73 | 20 74 68 65 20 d2 66 69 |}../*.Is| the .fi|
|00001400| 6c 65 d3 20 72 65 70 72 | 65 73 65 6e 74 65 64 20 |le. repr|esented |
|00001410| 62 79 20 74 68 69 73 20 | 46 53 53 70 65 63 20 72 |by this |FSSpec r|
|00001420| 65 61 6c 6c 79 20 61 20 | 66 6f 6c 64 65 72 3f 20 |eally a |folder? |
|00001430| 2a 2f 0d 42 6f 6f 6c 65 | 61 6e 09 46 53 70 49 73 |*/.Boole|an.FSpIs|
|00001440| 46 6f 6c 64 65 72 20 28 | 46 53 53 70 65 63 50 74 |Folder (|FSSpecPt|
|00001450| 72 20 74 68 65 46 53 53 | 70 65 63 29 20 0d 7b 0d |r theFSS|pec) .{.|
|00001460| 09 4f 53 45 72 72 09 65 | 72 72 3b 0d 09 43 49 6e |.OSErr.e|rr;..CIn|
|00001470| 66 6f 50 42 52 65 63 09 | 70 62 3b 0d 09 53 74 72 |foPBRec.|pb;..Str|
|00001480| 32 35 35 09 66 4e 61 6d | 65 3b 0d 09 0d 09 69 66 |255.fNam|e;....if|
|00001490| 20 28 74 68 65 46 53 53 | 70 65 63 2d 3e 70 61 72 | (theFSS|pec->par|
|000014a0| 49 44 20 3d 3d 20 66 73 | 52 74 50 61 72 49 44 29 |ID == fs|RtParID)|
|000014b0| 09 2f 2f 20 69 74 27 73 | 20 61 20 76 6f 6c 75 6d |.// it's| a volum|
|000014c0| 65 21 21 0d 09 09 72 65 | 74 75 72 6e 28 74 72 75 |e!!...re|turn(tru|
|000014d0| 65 29 3b 0d 09 09 0d 09 | 42 6c 6f 63 6b 4d 6f 76 |e);.....|BlockMov|
|000014e0| 65 44 61 74 61 20 28 74 | 68 65 46 53 53 70 65 63 |eData (t|heFSSpec|
|000014f0| 2d 3e 6e 61 6d 65 2c 20 | 66 4e 61 6d 65 2c 20 33 |->name, |fName, 3|
|00001500| 32 29 3b 0d 09 70 62 2e | 68 46 69 6c 65 49 6e 66 |2);..pb.|hFileInf|
|00001510| 6f 2e 69 6f 44 69 72 49 | 44 09 09 3d 20 74 68 65 |o.ioDirI|D..= the|
|00001520| 46 53 53 70 65 63 2d 3e | 70 61 72 49 44 3b 0d 09 |FSSpec->|parID;..|
|00001530| 70 62 2e 68 46 69 6c 65 | 49 6e 66 6f 2e 69 6f 43 |pb.hFile|Info.ioC|
|00001540| 6f 6d 70 6c 65 74 69 6f | 6e 09 3d 20 4e 55 4c 4c |ompletio|n.= NULL|
|00001550| 3b 0d 09 70 62 2e 68 46 | 69 6c 65 49 6e 66 6f 2e |;..pb.hF|ileInfo.|
|00001560| 69 6f 4e 61 6d 65 50 74 | 72 09 09 3d 20 66 4e 61 |ioNamePt|r..= fNa|
|00001570| 6d 65 3b 0d 09 70 62 2e | 68 46 69 6c 65 49 6e 66 |me;..pb.|hFileInf|
|00001580| 6f 2e 69 6f 56 52 65 66 | 4e 75 6d 09 09 3d 20 74 |o.ioVRef|Num..= t|
|00001590| 68 65 46 53 53 70 65 63 | 2d 3e 76 52 65 66 4e 75 |heFSSpec|->vRefNu|
|000015a0| 6d 3b 0d 09 70 62 2e 68 | 46 69 6c 65 49 6e 66 6f |m;..pb.h|FileInfo|
|000015b0| 2e 69 6f 46 44 69 72 49 | 6e 64 65 78 09 3d 20 30 |.ioFDirI|ndex.= 0|
|000015c0| 3b 0d 09 70 62 2e 68 46 | 69 6c 65 49 6e 66 6f 2e |;..pb.hF|ileInfo.|
|000015d0| 69 6f 46 56 65 72 73 4e | 75 6d 09 09 3d 20 30 3b |ioFVersN|um..= 0;|
|000015e0| 0d 09 65 72 72 20 3d 20 | 50 42 47 65 74 43 61 74 |..err = |PBGetCat|
|000015f0| 49 6e 66 6f 53 79 6e 63 | 28 26 70 62 29 3b 0d 09 |InfoSync|(&pb);..|
|00001600| 0d 09 69 66 20 28 21 65 | 72 72 29 20 7b 0d 09 09 |..if (!e|rr) {...|
|00001610| 69 66 20 28 70 62 2e 68 | 46 69 6c 65 49 6e 66 6f |if (pb.h|FileInfo|
|00001620| 2e 69 6f 46 6c 41 74 74 | 72 69 62 20 26 20 69 6f |.ioFlAtt|rib & io|
|00001630| 44 69 72 4d 61 73 6b 29 | 0d 09 09 09 72 65 74 75 |DirMask)|....retu|
|00001640| 72 6e 28 74 72 75 65 29 | 3b 0d 09 7d 0d 09 72 65 |rn(true)|;..}..re|
|00001650| 74 75 72 6e 28 66 61 6c | 73 65 29 3b 0d 7d 0d 0d |turn(fal|se);.}..|
|00001660| 2f 2f 20 43 72 65 61 74 | 65 73 20 61 6e 20 65 6d |// Creat|es an em|
|00001670| 70 74 79 20 68 61 6e 64 | 6c 65 20 74 6f 20 77 68 |pty hand|le to wh|
|00001680| 69 63 68 20 46 53 53 70 | 65 63 73 20 63 6f 75 6c |ich FSSp|ecs coul|
|00001690| 64 20 62 65 20 61 64 64 | 65 64 20 6c 61 74 65 72 |d be add|ed later|
|000016a0| 21 0d 46 53 53 70 65 63 | 41 72 72 61 79 48 61 6e |!.FSSpec|ArrayHan|
|000016b0| 64 6c 65 09 4e 65 77 46 | 53 53 70 65 63 4c 69 73 |dle.NewF|SSpecLis|
|000016c0| 74 28 76 6f 69 64 29 0d | 7b 0d 09 72 65 74 75 72 |t(void).|{..retur|
|000016d0| 6e 28 28 46 53 53 70 65 | 63 41 72 72 61 79 48 61 |n((FSSpe|cArrayHa|
|000016e0| 6e 64 6c 65 29 4e 65 77 | 48 61 6e 64 6c 65 28 30 |ndle)New|Handle(0|
|000016f0| 29 29 3b 0d 7d 0d 0d 2f | 2f 20 52 65 6c 65 61 73 |));.}../|/ Releas|
|00001700| 65 73 20 6d 65 6d 6f 72 | 79 20 75 73 65 64 20 62 |es memor|y used b|
|00001710| 79 20 61 6e 20 46 53 53 | 70 65 63 4c 69 73 74 20 |y an FSS|pecList |
|00001720| 77 68 65 6e 20 61 6c 6c | 20 64 6f 6e 65 0d 76 6f |when all| done.vo|
|00001730| 69 64 20 44 69 73 70 6f | 73 65 46 53 53 70 65 63 |id Dispo|seFSSpec|
|00001740| 4c 69 73 74 28 46 53 53 | 70 65 63 41 72 72 61 79 |List(FSS|pecArray|
|00001750| 48 61 6e 64 6c 65 20 66 | 73 4c 69 73 74 29 0d 7b |Handle f|sList).{|
|00001760| 0d 09 44 69 73 70 6f 73 | 65 48 61 6e 64 6c 65 28 |..Dispos|eHandle(|
|00001770| 28 48 61 6e 64 6c 65 29 | 66 73 4c 69 73 74 29 3b |(Handle)|fsList);|
|00001780| 0d 7d 0d 0d 2f 2f 20 41 | 64 64 73 20 74 68 65 20 |.}..// A|dds the |
|00001790| 6e 65 77 20 46 53 53 70 | 65 63 20 74 6f 20 74 68 |new FSSp|ec to th|
|000017a0| 65 20 65 6e 64 20 6f 66 | 20 61 6e 20 46 53 53 70 |e end of| an FSSp|
|000017b0| 65 63 4c 69 73 74 0d 76 | 6f 69 64 20 41 64 64 54 |ecList.v|oid AddT|
|000017c0| 6f 46 53 53 70 65 63 4c | 69 73 74 28 46 53 53 70 |oFSSpecL|ist(FSSp|
|000017d0| 65 63 20 2a 66 53 70 65 | 63 2c 20 46 53 53 70 65 |ec *fSpe|c, FSSpe|
|000017e0| 63 41 72 72 61 79 48 61 | 6e 64 6c 65 20 66 69 6c |cArrayHa|ndle fil|
|000017f0| 65 4c 69 73 74 29 0d 7b | 0d 09 53 69 7a 65 09 63 |eList).{|..Size.c|
|00001800| 75 72 53 69 7a 65 2c 20 | 6e 65 77 53 69 7a 65 3b |urSize, |newSize;|
|00001810| 0d 09 6c 6f 6e 67 09 6e | 75 6d 46 69 6c 65 73 3b |..long.n|umFiles;|
|00001820| 0d 0d 09 69 66 20 28 28 | 21 66 69 6c 65 4c 69 73 |...if ((|!fileLis|
|00001830| 74 29 20 7c 7c 20 28 21 | 66 53 70 65 63 29 29 20 |t) || (!|fSpec)) |
|00001840| 72 65 74 75 72 6e 3b 09 | 2f 2f 20 69 66 20 65 69 |return;.|// if ei|
|00001850| 74 68 65 72 20 69 73 20 | 62 6f 67 75 73 2c 20 67 |ther is |bogus, g|
|00001860| 65 74 20 6f 75 74 20 66 | 61 73 74 0d 09 0d 09 63 |et out f|ast....c|
|00001870| 75 72 53 69 7a 65 20 3d | 20 47 65 74 48 61 6e 64 |urSize =| GetHand|
|00001880| 6c 65 53 69 7a 65 28 28 | 48 61 6e 64 6c 65 29 66 |leSize((|Handle)f|
|00001890| 69 6c 65 4c 69 73 74 29 | 3b 0d 09 6e 75 6d 46 69 |ileList)|;..numFi|
|000018a0| 6c 65 73 20 3d 20 63 75 | 72 53 69 7a 65 20 2f 20 |les = cu|rSize / |
|000018b0| 73 69 7a 65 6f 66 28 46 | 53 53 70 65 63 29 3b 0d |sizeof(F|SSpec);.|
|000018c0| 09 6e 65 77 53 69 7a 65 | 20 3d 20 63 75 72 53 69 |.newSize| = curSi|
|000018d0| 7a 65 20 2b 20 73 69 7a | 65 6f 66 28 46 53 53 70 |ze + siz|eof(FSSp|
|000018e0| 65 63 29 3b 0d 09 53 65 | 74 48 61 6e 64 6c 65 53 |ec);..Se|tHandleS|
|000018f0| 69 7a 65 28 28 48 61 6e | 64 6c 65 29 66 69 6c 65 |ize((Han|dle)file|
|00001900| 4c 69 73 74 2c 20 6e 65 | 77 53 69 7a 65 29 3b 0d |List, ne|wSize);.|
|00001910| 09 69 66 20 28 4d 65 6d | 45 72 72 6f 72 28 29 29 |.if (Mem|Error())|
|00001920| 09 72 65 74 75 72 6e 3b | 09 09 2f 2f 20 61 6e 79 |.return;|..// any|
|00001930| 20 70 72 6f 62 6c 65 6d | 73 2c 20 67 65 74 20 6f | problem|s, get o|
|00001940| 75 74 0d 09 0d 09 42 6c | 6f 63 6b 4d 6f 76 65 28 |ut....Bl|ockMove(|
|00001950| 66 53 70 65 63 2c 20 26 | 28 2a 66 69 6c 65 4c 69 |fSpec, &|(*fileLi|
|00001960| 73 74 29 5b 6e 75 6d 46 | 69 6c 65 73 5d 2c 20 73 |st)[numF|iles], s|
|00001970| 69 7a 65 6f 66 28 46 53 | 53 70 65 63 29 29 3b 0d |izeof(FS|Spec));.|
|00001980| 7d 0d 0d 0d 2f 2a 20 a5 | a5 a5 20 41 70 70 6c 65 |}.../* .|.. Apple|
|00001990| 20 65 76 65 6e 74 20 72 | 6f 75 74 69 6e 65 73 20 | event r|outines |
|000019a0| 62 65 67 69 6e 20 68 65 | 72 65 20 a5 a5 a5 20 2a |begin he|re ... *|
|000019b0| 2f 0d 0d 2f 2a 0d 09 54 | 68 69 73 20 72 6f 75 74 |/../*..T|his rout|
|000019c0| 69 6e 65 20 77 69 6c 6c | 20 63 72 65 61 74 65 20 |ine will| create |
|000019d0| 61 20 74 61 72 67 65 74 | 44 65 73 63 20 66 6f 72 |a target|Desc for|
|000019e0| 20 73 65 6e 64 69 6e 67 | 20 74 6f 20 73 65 6c 66 | sending| to self|
|000019f0| 2e 0d 0d 09 57 65 20 74 | 61 6b 65 20 49 4d 20 56 |....We t|ake IM V|
|00001a00| 49 27 73 20 61 64 76 69 | 63 65 20 61 6e 64 20 75 |I's advi|ce and u|
|00001a10| 73 65 20 74 68 65 20 74 | 79 70 65 50 53 4e 20 66 |se the t|ypePSN f|
|00001a20| 6f 72 6d 20 77 69 74 68 | 20 0d 09 6b 43 75 72 72 |orm with| ..kCurr|
|00001a30| 65 6e 74 50 72 6f 63 65 | 73 73 20 61 73 20 74 68 |entProce|ss as th|
|00001a40| 65 20 74 61 72 67 65 74 | 50 53 4e 2e 0d 2a 2f 0d |e target|PSN..*/.|
|00001a50| 4f 53 45 72 72 20 47 65 | 74 54 61 72 67 65 74 46 |OSErr Ge|tTargetF|
|00001a60| 72 6f 6d 53 65 6c 66 20 | 28 41 45 41 64 64 72 65 |romSelf |(AEAddre|
|00001a70| 73 73 44 65 73 63 20 2a | 74 61 72 67 65 74 44 65 |ssDesc *|targetDe|
|00001a80| 73 63 29 0d 7b 0d 09 50 | 72 6f 63 65 73 73 53 65 |sc).{..P|rocessSe|
|00001a90| 72 69 61 6c 4e 75 6d 62 | 65 72 09 70 73 6e 3b 0d |rialNumb|er.psn;.|
|00001aa0| 0d 09 70 73 6e 2e 68 69 | 67 68 4c 6f 6e 67 4f 66 |..psn.hi|ghLongOf|
|00001ab0| 50 53 4e 20 09 3d 20 30 | 3b 0d 09 70 73 6e 2e 6c |PSN .= 0|;..psn.l|
|00001ac0| 6f 77 4c 6f 6e 67 4f 66 | 50 53 4e 20 09 3d 20 6b |owLongOf|PSN .= k|
|00001ad0| 43 75 72 72 65 6e 74 50 | 72 6f 63 65 73 73 3b 0d |CurrentP|rocess;.|
|00001ae0| 0d 09 72 65 74 75 72 6e | 28 20 41 45 43 72 65 61 |..return|( AECrea|
|00001af0| 74 65 44 65 73 63 28 74 | 79 70 65 50 72 6f 63 65 |teDesc(t|ypeProce|
|00001b00| 73 73 53 65 72 69 61 6c | 4e 75 6d 62 65 72 2c 20 |ssSerial|Number, |
|00001b10| 28 50 74 72 29 26 70 73 | 6e 2c 20 73 69 7a 65 6f |(Ptr)&ps|n, sizeo|
|00001b20| 66 28 50 72 6f 63 65 73 | 73 53 65 72 69 61 6c 4e |f(Proces|sSerialN|
|00001b30| 75 6d 62 65 72 29 2c 20 | 74 61 72 67 65 74 44 65 |umber), |targetDe|
|00001b40| 73 63 29 20 29 3b 0d 7d | 0d 0d 2f 2a 20 54 68 69 |sc) );.}|../* Thi|
|00001b50| 73 20 72 6f 75 74 69 6e | 65 20 77 69 6c 6c 20 63 |s routin|e will c|
|00001b60| 72 65 61 74 65 20 61 20 | 74 61 72 67 65 74 44 65 |reate a |targetDe|
|00001b70| 73 63 20 75 73 69 6e 67 | 20 74 68 65 20 61 70 70 |sc using| the app|
|00001b80| 73 20 73 69 67 6e 61 74 | 75 72 65 20 2a 2f 0d 4f |s signat|ure */.O|
|00001b90| 53 45 72 72 20 47 65 74 | 54 61 72 67 65 74 46 72 |SErr Get|TargetFr|
|00001ba0| 6f 6d 53 69 67 6e 61 74 | 75 72 65 20 28 4f 53 54 |omSignat|ure (OST|
|00001bb0| 79 70 65 20 70 72 6f 63 | 65 73 73 53 69 67 2c 20 |ype proc|essSig, |
|00001bc0| 41 45 41 64 64 72 65 73 | 73 44 65 73 63 20 2a 74 |AEAddres|sDesc *t|
|00001bd0| 61 72 67 65 74 44 65 73 | 63 29 0d 7b 0d 09 72 65 |argetDes|c).{..re|
|00001be0| 74 75 72 6e 28 20 41 45 | 43 72 65 61 74 65 44 65 |turn( AE|CreateDe|
|00001bf0| 73 63 28 74 79 70 65 41 | 70 70 6c 53 69 67 6e 61 |sc(typeA|pplSigna|
|00001c00| 74 75 72 65 2c 20 28 50 | 74 72 29 26 70 72 6f 63 |ture, (P|tr)&proc|
|00001c10| 65 73 73 53 69 67 2c 20 | 73 69 7a 65 6f 66 28 70 |essSig, |sizeof(p|
|00001c20| 72 6f 63 65 73 73 53 69 | 67 29 2c 20 74 61 72 67 |rocessSi|g), targ|
|00001c30| 65 74 44 65 73 63 29 20 | 29 3b 0d 7d 0d 0d 2f 2a |etDesc) |);.}../*|
|00001c40| 20 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 77 69 | This ro|utine wi|
|00001c50| 6c 6c 20 63 72 65 61 74 | 65 20 61 20 74 61 72 67 |ll creat|e a targ|
|00001c60| 65 74 44 65 73 63 20 62 | 79 20 62 72 69 6e 67 69 |etDesc b|y bringi|
|00001c70| 6e 67 20 75 70 20 74 68 | 65 20 50 50 43 42 72 6f |ng up th|e PPCBro|
|00001c80| 77 73 65 72 20 2a 2f 0d | 4f 53 45 72 72 20 47 65 |wser */.|OSErr Ge|
|00001c90| 74 54 61 72 67 65 74 46 | 72 6f 6d 42 72 6f 77 73 |tTargetF|romBrows|
|00001ca0| 65 72 28 53 74 72 32 35 | 35 20 70 72 6f 6d 70 74 |er(Str25|5 prompt|
|00001cb0| 53 74 72 2c 20 41 45 41 | 64 64 72 65 73 73 44 65 |Str, AEA|ddressDe|
|00001cc0| 73 63 20 2a 74 61 72 67 | 65 74 44 65 73 63 29 0d |sc *targ|etDesc).|
|00001cd0| 7b 0d 09 4f 53 45 72 72 | 09 09 65 72 72 3b 0d 09 |{..OSErr|..err;..|
|00001ce0| 54 61 72 67 65 74 49 44 | 09 74 68 65 54 61 72 67 |TargetID|.theTarg|
|00001cf0| 65 74 3b 0d 09 50 6f 72 | 74 49 6e 66 6f 52 65 63 |et;..Por|tInfoRec|
|00001d00| 09 70 6f 72 74 49 6e 66 | 6f 3b 0d 09 0d 09 65 72 |.portInf|o;....er|
|00001d10| 72 20 3d 20 50 50 43 42 | 72 6f 77 73 65 72 28 70 |r = PPCB|rowser(p|
|00001d20| 72 6f 6d 70 74 53 74 72 | 2c 20 22 5c 70 22 2c 20 |romptStr|, "\p", |
|00001d30| 66 61 6c 73 65 2c 20 26 | 74 68 65 54 61 72 67 65 |false, &|theTarge|
|00001d40| 74 2e 6c 6f 63 61 74 69 | 6f 6e 2c 20 26 70 6f 72 |t.locati|on, &por|
|00001d50| 74 49 6e 66 6f 2c 20 4e | 55 4c 4c 2c 20 22 5c 70 |tInfo, N|ULL, "\p|
|00001d60| 22 29 3b 0d 09 69 66 20 | 28 65 72 72 20 3d 3d 20 |");..if |(err == |
|00001d70| 6e 6f 45 72 72 29 20 7b | 0d 09 09 74 68 65 54 61 |noErr) {|...theTa|
|00001d80| 72 67 65 74 2e 6e 61 6d | 65 20 3d 20 70 6f 72 74 |rget.nam|e = port|
|00001d90| 49 6e 66 6f 2e 6e 61 6d | 65 3b 0d 09 09 65 72 72 |Info.nam|e;...err|
|00001da0| 20 3d 20 41 45 43 72 65 | 61 74 65 44 65 73 63 28 | = AECre|ateDesc(|
|00001db0| 74 79 70 65 54 61 72 67 | 65 74 49 44 2c 20 28 50 |typeTarg|etID, (P|
|00001dc0| 74 72 29 26 74 68 65 54 | 61 72 67 65 74 2c 20 73 |tr)&theT|arget, s|
|00001dd0| 69 7a 65 6f 66 28 54 61 | 72 67 65 74 49 44 29 2c |izeof(Ta|rgetID),|
|00001de0| 20 74 61 72 67 65 74 44 | 65 73 63 29 3b 0d 09 7d | targetD|esc);..}|
|00001df0| 0d 09 72 65 74 75 72 6e | 28 20 65 72 72 20 29 3b |..return|( err );|
|00001e00| 0d 7d 0d 0d 0d 2f 2a 0d | 09 54 68 69 73 20 72 6f |.}.../*.|.This ro|
|00001e10| 75 74 69 6e 65 20 69 73 | 20 74 68 65 20 6c 6f 77 |utine is| the low|
|00001e20| 20 6c 65 76 65 6c 20 72 | 6f 75 74 69 6e 65 20 75 | level r|outine u|
|00001e30| 73 65 64 20 62 79 20 74 | 68 65 20 53 65 6e 64 4f |sed by t|he SendO|
|00001e40| 44 4f 43 54 6f 53 65 6c | 66 0d 09 72 6f 75 74 69 |DOCToSel|f..routi|
|00001e50| 6e 65 2e 20 20 49 74 20 | 67 65 74 73 20 70 61 73 |ne. It |gets pas|
|00001e60| 73 65 64 20 74 68 65 20 | 6c 69 73 74 20 6f 66 20 |sed the |list of |
|00001e70| 66 69 6c 65 73 20 28 69 | 6e 20 61 6e 20 41 45 44 |files (i|n an AED|
|00001e80| 65 73 63 4c 69 73 74 29 | 0d 09 74 6f 20 62 65 20 |escList)|..to be |
|00001e90| 73 65 6e 74 20 61 73 20 | 74 68 65 20 64 61 74 61 |sent as |the data|
|00001ea0| 20 66 6f 72 20 74 68 65 | 20 27 6f 64 6f 63 27 2c | for the| 'odoc',|
|00001eb0| 20 62 75 69 6c 64 73 20 | 75 70 20 74 68 65 20 65 | builds |up the e|
|00001ec0| 76 65 6e 74 0d 09 61 6e | 64 20 73 65 6e 64 73 20 |vent..an|d sends |
|00001ed0| 6f 66 66 20 74 68 65 20 | 65 76 65 6e 74 2e 20 20 |off the |event. |
|00001ee0| 0d 0d 09 49 74 20 69 73 | 20 62 72 6f 6b 65 6e 20 |...It is| broken |
|00001ef0| 6f 75 74 20 66 72 6f 6d | 20 53 65 6e 64 4f 44 4f |out from| SendODO|
|00001f00| 43 54 6f 53 65 6c 66 20 | 73 6f 20 74 68 61 74 20 |CToSelf |so that |
|00001f10| 61 20 53 65 6e 64 4f 44 | 4f 43 4c 69 73 74 54 6f |a SendOD|OCListTo|
|00001f20| 53 65 6c 66 20 63 6f 75 | 6c 64 0d 09 65 61 73 69 |Self cou|ld..easi|
|00001f30| 6c 79 20 62 65 20 77 72 | 69 74 74 65 6e 20 61 6e |ly be wr|itten an|
|00001f40| 64 20 69 74 20 63 6f 75 | 6c 64 20 74 68 65 6e 20 |d it cou|ld then |
|00001f50| 63 61 6c 6c 20 74 68 69 | 73 20 72 6f 75 74 69 6e |call thi|s routin|
|00001f60| 65 20 2d 20 62 75 74 20 | 74 68 61 74 20 69 73 20 |e - but |that is |
|00001f70| 6c 65 66 74 0d 09 61 73 | 20 61 6e 20 65 78 65 72 |left..as| an exer|
|00001f80| 63 69 73 65 20 74 6f 20 | 74 68 65 20 72 65 61 64 |cise to |the read|
|00001f90| 65 72 2e 0d 09 0d 09 52 | 65 61 64 20 74 68 65 20 |er.....R|ead the |
|00001fa0| 63 6f 6d 6d 65 6e 74 73 | 20 69 6e 20 74 68 65 20 |comments| in the |
|00001fb0| 63 6f 64 65 20 66 6f 72 | 20 74 68 65 20 6f 72 64 |code for| the ord|
|00001fc0| 65 72 20 61 6e 64 20 64 | 65 74 61 69 6c 73 0d 2a |er and d|etails.*|
|00001fd0| 2f 0d 76 6f 69 64 20 5f | 53 65 6e 64 44 6f 63 73 |/.void _|SendDocs|
|00001fe0| 54 6f 53 65 6c 66 20 28 | 41 45 44 65 73 63 4c 69 |ToSelf (|AEDescLi|
|00001ff0| 73 74 20 2a 61 6c 69 61 | 73 4c 69 73 74 29 0d 7b |st *alia|sList).{|
|00002000| 0d 09 4f 53 45 72 72 09 | 09 09 65 72 72 3b 0d 09 |..OSErr.|..err;..|
|00002010| 41 45 41 64 64 72 65 73 | 73 44 65 73 63 09 74 68 |AEAddres|sDesc.th|
|00002020| 65 54 61 72 67 65 74 3b | 0d 09 41 70 70 6c 65 45 |eTarget;|..AppleE|
|00002030| 76 65 6e 74 09 09 6f 70 | 65 6e 44 6f 63 41 45 2c |vent..op|enDocAE,|
|00002040| 20 72 65 70 6c 79 41 45 | 3b 0d 0d 2f 2a 0d 09 46 | replyAE|;../*..F|
|00002050| 69 72 73 74 20 77 65 20 | 63 72 65 61 74 65 20 74 |irst we |create t|
|00002060| 68 65 20 74 61 72 67 65 | 74 20 66 6f 72 20 74 68 |he targe|t for th|
|00002070| 65 20 65 76 65 6e 74 2e | 20 20 20 57 65 20 63 61 |e event.| We ca|
|00002080| 6c 6c 20 61 6e 6f 74 68 | 65 72 0d 09 75 74 69 6c |ll anoth|er..util|
|00002090| 69 74 79 20 72 6f 75 74 | 69 6e 65 20 66 6f 72 20 |ity rout|ine for |
|000020a0| 63 72 65 61 74 69 6e 67 | 20 74 68 65 20 74 61 72 |creating| the tar|
|000020b0| 67 65 74 2e 0d 2a 2f 0d | 09 65 72 72 20 3d 20 47 |get..*/.|.err = G|
|000020c0| 65 74 54 61 72 67 65 74 | 46 72 6f 6d 53 65 6c 66 |etTarget|FromSelf|
|000020d0| 28 26 74 68 65 54 61 72 | 67 65 74 29 3b 0d 09 69 |(&theTar|get);..i|
|000020e0| 66 20 28 65 72 72 20 3d | 3d 20 6e 6f 45 72 72 29 |f (err =|= noErr)|
|000020f0| 20 7b 0d 09 09 2f 2a 20 | 4e 65 78 74 20 77 65 20 | {.../* |Next we |
|00002100| 63 72 65 61 74 65 20 74 | 68 65 20 41 70 70 6c 65 |create t|he Apple|
|00002110| 20 65 76 65 6e 74 20 74 | 68 61 74 20 77 69 6c 6c | event t|hat will|
|00002120| 20 6c 61 74 65 72 20 67 | 65 74 20 73 65 6e 74 2e | later g|et sent.|
|00002130| 20 2a 2f 0d 09 09 65 72 | 72 20 3d 20 41 45 43 72 | */...er|r = AECr|
|00002140| 65 61 74 65 41 70 70 6c | 65 45 76 65 6e 74 28 6b |eateAppl|eEvent(k|
|00002150| 43 6f 72 65 45 76 65 6e | 74 43 6c 61 73 73 2c 20 |CoreEven|tClass, |
|00002160| 6b 41 45 4f 70 65 6e 44 | 6f 63 75 6d 65 6e 74 73 |kAEOpenD|ocuments|
|00002170| 2c 20 26 74 68 65 54 61 | 72 67 65 74 2c 20 6b 41 |, &theTa|rget, kA|
|00002180| 75 74 6f 47 65 6e 65 72 | 61 74 65 52 65 74 75 72 |utoGener|ateRetur|
|00002190| 6e 49 44 2c 20 6b 41 6e | 79 54 72 61 6e 73 61 63 |nID, kAn|yTransac|
|000021a0| 74 69 6f 6e 49 44 2c 20 | 26 6f 70 65 6e 44 6f 63 |tionID, |&openDoc|
|000021b0| 41 45 29 3b 0d 0d 09 09 | 69 66 20 28 65 72 72 20 |AE);....|if (err |
|000021c0| 3d 3d 20 6e 6f 45 72 72 | 29 20 7b 0d 09 09 09 2f |== noErr|) {..../|
|000021d0| 2a 20 4e 6f 77 20 61 64 | 64 20 74 68 65 20 61 6c |* Now ad|d the al|
|000021e0| 69 61 73 44 65 73 63 4c | 69 73 74 20 74 6f 20 74 |iasDescL|ist to t|
|000021f0| 68 65 20 6f 70 65 6e 44 | 6f 63 41 45 20 2a 2f 0d |he openD|ocAE */.|
|00002200| 09 09 09 65 72 72 20 3d | 20 41 45 50 75 74 50 61 |...err =| AEPutPa|
|00002210| 72 61 6d 44 65 73 63 28 | 26 6f 70 65 6e 44 6f 63 |ramDesc(|&openDoc|
|00002220| 41 45 2c 20 6b 65 79 44 | 69 72 65 63 74 4f 62 6a |AE, keyD|irectObj|
|00002230| 65 63 74 2c 20 61 6c 69 | 61 73 4c 69 73 74 29 3b |ect, ali|asList);|
|00002240| 0d 0d 09 09 09 69 66 20 | 28 65 72 72 20 3d 3d 20 |.....if |(err == |
|00002250| 6e 6f 45 72 72 29 20 7b | 0d 09 09 09 09 2f 2a 0d |noErr) {|...../*.|
|00002260| 09 09 09 09 09 61 6e 64 | 20 66 69 6e 61 6c 6c 79 |.....and| finally|
|00002270| 20 73 65 6e 64 20 74 68 | 65 20 65 76 65 6e 74 0d | send th|e event.|
|00002280| 09 09 09 09 09 53 69 6e | 63 65 20 77 65 20 61 72 |.....Sin|ce we ar|
|00002290| 65 20 73 65 6e 64 69 6e | 67 20 74 6f 20 6f 75 72 |e sendin|g to our|
|000022a0| 73 65 6c 76 65 73 2c 20 | 6e 6f 20 6e 65 65 64 20 |selves, |no need |
|000022b0| 66 6f 72 20 72 65 70 6c | 79 2e 0d 09 09 09 09 2a |for repl|y......*|
|000022c0| 2f 0d 09 09 09 09 65 72 | 72 20 3d 20 41 45 53 65 |/.....er|r = AESe|
|000022d0| 6e 64 28 26 6f 70 65 6e | 44 6f 63 41 45 2c 20 26 |nd(&open|DocAE, &|
|000022e0| 72 65 70 6c 79 41 45 2c | 20 6b 41 45 4e 6f 52 65 |replyAE,| kAENoRe|
|000022f0| 70 6c 79 20 2b 20 6b 41 | 45 43 61 6e 49 6e 74 65 |ply + kA|ECanInte|
|00002300| 72 61 63 74 2c 20 6b 41 | 45 4e 6f 72 6d 61 6c 50 |ract, kA|ENormalP|
|00002310| 72 69 6f 72 69 74 79 2c | 20 33 36 30 30 2c 20 4e |riority,| 3600, N|
|00002320| 55 4c 4c 2c 20 4e 55 4c | 4c 29 3b 0d 0d 09 09 09 |ULL, NUL|L);.....|
|00002330| 09 2f 2a 0d 09 09 09 09 | 09 4e 4f 54 45 3a 20 53 |./*.....|.NOTE: S|
|00002340| 69 6e 63 65 20 77 65 20 | 61 72 65 20 6e 6f 74 20 |ince we |are not |
|00002350| 72 65 71 75 65 73 74 69 | 6e 67 20 61 20 72 65 70 |requesti|ng a rep|
|00002360| 6c 79 2c 20 77 65 20 64 | 6f 20 6e 6f 74 20 6e 65 |ly, we d|o not ne|
|00002370| 65 64 20 74 6f 0d 09 09 | 09 09 09 6e 65 65 64 20 |ed to...|...need |
|00002380| 74 6f 20 64 69 73 70 6f | 73 65 20 6f 66 20 74 68 |to dispo|se of th|
|00002390| 65 20 72 65 70 6c 79 41 | 45 2e 20 20 49 74 20 69 |e replyA|E. It i|
|000023a0| 73 20 74 68 65 72 65 20 | 73 69 6d 70 6c 79 20 61 |s there |simply a|
|000023b0| 73 20 61 20 0d 09 09 09 | 09 09 70 6c 61 63 65 68 |s a ....|..placeh|
|000023c0| 6f 6c 64 65 72 2e 0d 09 | 09 09 09 2a 2f 0d 09 09 |older...|...*/...|
|000023d0| 09 7d 0d 0d 09 09 2f 2a | 09 0d 09 09 09 44 69 73 |.}..../*|.....Dis|
|000023e0| 70 6f 73 65 20 6f 66 20 | 74 68 65 20 61 6c 69 61 |pose of |the alia|
|000023f0| 73 4c 69 73 74 20 64 65 | 73 63 72 69 70 74 6f 72 |sList de|scriptor|
|00002400| 0d 09 09 09 57 65 20 64 | 6f 20 74 68 69 73 20 69 |....We d|o this i|
|00002410| 6e 73 74 65 61 64 20 6f | 66 20 74 68 65 20 63 61 |nstead o|f the ca|
|00002420| 6c 6c 65 72 20 73 69 6e | 63 65 20 69 74 20 6e 65 |ller sin|ce it ne|
|00002430| 65 64 73 20 74 6f 20 62 | 65 20 64 6f 6e 65 0d 09 |eds to b|e done..|
|00002440| 09 09 62 65 66 6f 72 65 | 20 64 69 73 70 6f 73 69 |..before| disposi|
|00002450| 6e 67 20 74 68 65 20 41 | 45 56 54 0d 09 09 2a 2f |ng the A|EVT...*/|
|00002460| 0d 09 09 09 65 72 72 20 | 3d 20 41 45 44 69 73 70 |....err |= AEDisp|
|00002470| 6f 73 65 44 65 73 63 28 | 61 6c 69 61 73 4c 69 73 |oseDesc(|aliasLis|
|00002480| 74 29 3b 0d 09 09 7d 0d | 0d 09 2f 2a 61 6e 64 20 |t);...}.|../*and |
|00002490| 6f 66 20 63 6f 75 72 73 | 65 20 64 69 73 70 6f 73 |of cours|e dispos|
|000024a0| 65 20 6f 66 20 74 68 65 | 20 6f 70 65 6e 44 6f 63 |e of the| openDoc|
|000024b0| 20 41 45 56 54 20 69 74 | 73 65 6c 66 2a 2f 0d 09 | AEVT it|self*/..|
|000024c0| 09 65 72 72 20 3d 20 41 | 45 44 69 73 70 6f 73 65 |.err = A|EDispose|
|000024d0| 44 65 73 63 28 26 6f 70 | 65 6e 44 6f 63 41 45 29 |Desc(&op|enDocAE)|
|000024e0| 3b 0d 09 7d 0d 7d 0d 0d | 2f 2a 0d 09 54 68 69 73 |;..}.}..|/*..This|
|000024f0| 20 69 73 20 74 68 65 20 | 72 6f 75 74 69 6e 65 20 | is the |routine |
|00002500| 63 61 6c 6c 65 64 20 62 | 79 20 53 65 6c 65 63 74 |called b|y Select|
|00002510| 46 69 6c 65 20 74 6f 20 | 73 65 6e 64 20 61 20 73 |File to |send a s|
|00002520| 69 6e 67 6c 65 20 6f 64 | 6f 63 20 74 6f 20 6f 75 |ingle od|oc to ou|
|00002530| 72 73 65 6c 76 65 73 2e | 0d 09 0d 09 49 74 20 63 |rselves.|....It c|
|00002540| 61 6c 6c 73 20 74 68 65 | 20 61 62 6f 76 65 20 6c |alls the| above l|
|00002550| 6f 77 20 6c 65 76 65 6c | 20 72 6f 75 74 69 6e 65 |ow level| routine|
|00002560| 20 74 6f 20 64 6f 20 74 | 68 65 20 64 69 72 74 79 | to do t|he dirty|
|00002570| 20 77 6f 72 6b 20 6f 66 | 20 73 65 6e 64 69 6e 67 | work of| sending|
|00002580| 20 74 68 65 20 41 45 56 | 54 20 2d 0d 09 61 6c 6c | the AEV|T -..all|
|00002590| 20 77 65 20 64 6f 20 68 | 65 72 65 20 69 73 20 62 | we do h|ere is b|
|000025a0| 75 69 6c 64 20 61 20 41 | 45 44 65 73 63 4c 69 73 |uild a A|EDescLis|
|000025b0| 74 20 6f 66 20 74 68 65 | 20 66 69 6c 65 20 74 6f |t of the| file to|
|000025c0| 20 62 65 20 6f 70 65 6e | 65 64 2e 0d 2a 2f 0d 76 | be open|ed..*/.v|
|000025d0| 6f 69 64 20 53 65 6e 64 | 4f 44 4f 43 54 6f 53 65 |oid Send|ODOCToSe|
|000025e0| 6c 66 20 28 46 53 53 70 | 65 63 20 2a 74 68 65 46 |lf (FSSp|ec *theF|
|000025f0| 69 6c 65 53 70 65 63 29 | 20 7b 0d 0d 09 4f 53 45 |ileSpec)| {...OSE|
|00002600| 72 72 09 09 65 72 72 3b | 0d 09 41 45 44 65 73 63 |rr..err;|..AEDesc|
|00002610| 4c 69 73 74 09 61 6c 69 | 61 73 4c 69 73 74 3b 0d |List.ali|asList;.|
|00002620| 09 41 45 44 65 73 63 09 | 09 61 6c 69 61 73 44 65 |.AEDesc.|.aliasDe|
|00002630| 73 63 3b 0d 09 41 6c 69 | 61 73 48 61 6e 64 6c 65 |sc;..Ali|asHandle|
|00002640| 09 61 6c 69 61 73 48 3b | 0d 09 0d 09 2f 2a 43 72 |.aliasH;|..../*Cr|
|00002650| 65 61 74 65 20 74 68 65 | 20 64 65 73 63 4c 69 73 |eate the| descLis|
|00002660| 74 20 74 6f 20 68 6f 6c | 64 20 74 68 65 20 6c 69 |t to hol|d the li|
|00002670| 73 74 20 6f 66 20 66 69 | 6c 65 73 2a 2f 0d 09 65 |st of fi|les*/..e|
|00002680| 72 72 20 3d 20 41 45 43 | 72 65 61 74 65 4c 69 73 |rr = AEC|reateLis|
|00002690| 74 28 4e 55 4c 4c 2c 20 | 30 2c 20 66 61 6c 73 65 |t(NULL, |0, false|
|000026a0| 2c 20 26 61 6c 69 61 73 | 4c 69 73 74 29 3b 0d 0d |, &alias|List);..|
|000026b0| 09 69 66 20 28 65 72 72 | 20 3d 3d 20 6e 6f 45 72 |.if (err| == noEr|
|000026c0| 72 29 20 7b 0d 09 09 2f | 2a 20 46 69 72 73 74 20 |r) {.../|* First |
|000026d0| 77 65 20 73 65 74 75 70 | 20 74 68 65 20 74 79 70 |we setup| the typ|
|000026e0| 65 20 6f 66 20 64 65 73 | 63 72 69 70 74 6f 72 20 |e of des|criptor |
|000026f0| 2a 2f 0d 09 09 61 6c 69 | 61 73 44 65 73 63 2e 64 |*/...ali|asDesc.d|
|00002700| 65 73 63 72 69 70 74 6f | 72 54 79 70 65 20 3d 20 |escripto|rType = |
|00002710| 74 79 70 65 41 6c 69 61 | 73 3b 0d 0d 09 09 2f 2a |typeAlia|s;..../*|
|00002720| 0d 09 09 09 4e 6f 77 20 | 77 65 20 61 64 64 20 74 |....Now |we add t|
|00002730| 68 65 20 66 69 6c 65 20 | 74 6f 20 64 65 73 63 4c |he file |to descL|
|00002740| 69 73 74 20 62 79 20 63 | 72 65 61 74 69 6e 67 20 |ist by c|reating |
|00002750| 61 6e 20 61 6c 69 61 73 | 20 61 6e 64 20 74 68 65 |an alias| and the|
|00002760| 6e 0d 09 09 09 61 64 64 | 69 6e 67 20 69 74 20 69 |n....add|ing it i|
|00002770| 6e 74 6f 20 74 68 65 20 | 64 65 73 63 4c 69 73 74 |nto the |descList|
|00002780| 20 75 73 69 6e 67 20 41 | 45 50 75 74 44 65 73 63 | using A|EPutDesc|
|00002790| 0d 09 09 2a 2f 0d 09 09 | 65 72 72 20 3d 20 4e 65 |...*/...|err = Ne|
|000027a0| 77 41 6c 69 61 73 28 4e | 55 4c 4c 2c 20 74 68 65 |wAlias(N|ULL, the|
|000027b0| 46 69 6c 65 53 70 65 63 | 2c 20 26 61 6c 69 61 73 |FileSpec|, &alias|
|000027c0| 48 29 3b 0d 09 09 61 6c | 69 61 73 44 65 73 63 2e |H);...al|iasDesc.|
|000027d0| 64 61 74 61 48 61 6e 64 | 6c 65 20 3d 20 28 48 61 |dataHand|le = (Ha|
|000027e0| 6e 64 6c 65 29 61 6c 69 | 61 73 48 3b 0d 09 09 65 |ndle)ali|asH;...e|
|000027f0| 72 72 20 3d 20 41 45 50 | 75 74 44 65 73 63 28 26 |rr = AEP|utDesc(&|
|00002800| 61 6c 69 61 73 4c 69 73 | 74 2c 20 30 2c 20 26 61 |aliasLis|t, 0, &a|
|00002810| 6c 69 61 73 44 65 73 63 | 29 3b 0d 09 09 44 69 73 |liasDesc|);...Dis|
|00002820| 70 6f 73 65 48 61 6e 64 | 6c 65 28 28 48 61 6e 64 |poseHand|le((Hand|
|00002830| 6c 65 29 61 6c 69 61 73 | 48 29 3b 0d 0d 09 09 2f |le)alias|H);..../|
|00002840| 2a 4e 6f 77 20 63 61 6c | 6c 20 74 68 65 20 72 65 |*Now cal|l the re|
|00002850| 61 6c 20 67 75 74 20 6c | 65 76 65 6c 20 72 6f 75 |al gut l|evel rou|
|00002860| 74 69 6e 65 20 74 6f 20 | 64 6f 20 74 68 65 20 64 |tine to |do the d|
|00002870| 69 72 74 79 20 77 6f 72 | 6b 2a 2f 0d 09 09 5f 53 |irty wor|k*/..._S|
|00002880| 65 6e 64 44 6f 63 73 54 | 6f 53 65 6c 66 28 26 61 |endDocsT|oSelf(&a|
|00002890| 6c 69 61 73 4c 69 73 74 | 29 3b 0d 0d 09 09 2f 2a |liasList|);..../*|
|000028a0| 5f 53 65 6e 64 44 6f 63 | 73 54 6f 53 65 6c 66 20 |_SendDoc|sToSelf |
|000028b0| 77 69 6c 6c 20 64 69 73 | 70 6f 73 65 20 6f 66 20 |will dis|pose of |
|000028c0| 61 6c 69 61 73 4c 69 73 | 74 20 66 6f 72 20 6d 65 |aliasLis|t for me|
|000028d0| 2a 2f 0d 09 7d 0d 7d 0d | 0d 0d 76 6f 69 64 20 53 |*/..}.}.|..void S|
|000028e0| 65 6e 64 51 75 69 74 54 | 6f 53 65 6c 66 20 28 76 |endQuitT|oSelf (v|
|000028f0| 6f 69 64 29 0d 7b 0d 09 | 4f 53 45 72 72 09 09 09 |oid).{..|OSErr...|
|00002900| 65 72 72 3b 0d 09 41 45 | 41 64 64 72 65 73 73 44 |err;..AE|AddressD|
|00002910| 65 73 63 09 74 68 65 54 | 61 72 67 65 74 3b 0d 09 |esc.theT|arget;..|
|00002920| 41 70 70 6c 65 45 76 65 | 6e 74 09 09 71 75 69 74 |AppleEve|nt..quit|
|00002930| 41 45 2c 20 72 65 70 6c | 79 41 45 3b 0d 0d 2f 2a |AE, repl|yAE;../*|
|00002940| 0d 09 46 69 72 73 74 20 | 77 65 20 63 72 65 61 74 |..First |we creat|
|00002950| 65 20 74 68 65 20 74 61 | 72 67 65 74 20 66 6f 72 |e the ta|rget for|
|00002960| 20 74 68 65 20 65 76 65 | 6e 74 2e 20 20 20 57 65 | the eve|nt. We|
|00002970| 20 63 61 6c 6c 20 61 6e | 6f 74 68 65 72 0d 09 75 | call an|other..u|
|00002980| 74 69 6c 69 74 79 20 72 | 6f 75 74 69 6e 65 20 66 |tility r|outine f|
|00002990| 6f 72 20 63 72 65 61 74 | 69 6e 67 20 74 68 65 20 |or creat|ing the |
|000029a0| 74 61 72 67 65 74 2e 0d | 2a 2f 0d 09 65 72 72 20 |target..|*/..err |
|000029b0| 3d 20 47 65 74 54 61 72 | 67 65 74 46 72 6f 6d 53 |= GetTar|getFromS|
|000029c0| 65 6c 66 28 26 74 68 65 | 54 61 72 67 65 74 29 3b |elf(&the|Target);|
|000029d0| 0d 09 69 66 20 28 65 72 | 72 20 3d 3d 20 6e 6f 45 |..if (er|r == noE|
|000029e0| 72 72 29 20 7b 0d 09 09 | 2f 2a 20 4e 65 78 74 20 |rr) {...|/* Next |
|000029f0| 77 65 20 63 72 65 61 74 | 65 20 74 68 65 20 41 70 |we creat|e the Ap|
|00002a00| 70 6c 65 20 65 76 65 6e | 74 20 74 68 61 74 20 77 |ple even|t that w|
|00002a10| 69 6c 6c 20 6c 61 74 65 | 72 20 67 65 74 20 73 65 |ill late|r get se|
|00002a20| 6e 74 2e 20 2a 2f 0d 09 | 09 65 72 72 20 3d 20 41 |nt. */..|.err = A|
|00002a30| 45 43 72 65 61 74 65 41 | 70 70 6c 65 45 76 65 6e |ECreateA|ppleEven|
|00002a40| 74 28 6b 43 6f 72 65 45 | 76 65 6e 74 43 6c 61 73 |t(kCoreE|ventClas|
|00002a50| 73 2c 20 6b 41 45 51 75 | 69 74 41 70 70 6c 69 63 |s, kAEQu|itApplic|
|00002a60| 61 74 69 6f 6e 2c 20 26 | 74 68 65 54 61 72 67 65 |ation, &|theTarge|
|00002a70| 74 2c 20 6b 41 75 74 6f | 47 65 6e 65 72 61 74 65 |t, kAuto|Generate|
|00002a80| 52 65 74 75 72 6e 49 44 | 2c 20 6b 41 6e 79 54 72 |ReturnID|, kAnyTr|
|00002a90| 61 6e 73 61 63 74 69 6f | 6e 49 44 2c 20 26 71 75 |ansactio|nID, &qu|
|00002aa0| 69 74 41 45 29 3b 0d 0d | 09 09 69 66 20 28 65 72 |itAE);..|..if (er|
|00002ab0| 72 20 3d 3d 20 6e 6f 45 | 72 72 29 20 7b 0d 09 09 |r == noE|rr) {...|
|00002ac0| 09 2f 2a 0d 09 09 09 09 | 61 6e 64 20 66 69 6e 61 |./*.....|and fina|
|00002ad0| 6c 6c 79 20 73 65 6e 64 | 20 74 68 65 20 65 76 65 |lly send| the eve|
|00002ae0| 6e 74 0d 09 09 09 09 53 | 69 6e 63 65 20 77 65 20 |nt.....S|ince we |
|00002af0| 61 72 65 20 73 65 6e 64 | 69 6e 67 20 74 6f 20 6f |are send|ing to o|
|00002b00| 75 72 73 65 6c 76 65 73 | 2c 20 6e 6f 20 6e 65 65 |urselves|, no nee|
|00002b10| 64 20 66 6f 72 20 72 65 | 70 6c 79 2e 0d 09 09 09 |d for re|ply.....|
|00002b20| 2a 2f 0d 09 09 09 65 72 | 72 20 3d 20 41 45 53 65 |*/....er|r = AESe|
|00002b30| 6e 64 28 26 71 75 69 74 | 41 45 2c 20 26 72 65 70 |nd(&quit|AE, &rep|
|00002b40| 6c 79 41 45 2c 20 6b 41 | 45 4e 6f 52 65 70 6c 79 |lyAE, kA|ENoReply|
|00002b50| 20 2b 20 6b 41 45 43 61 | 6e 49 6e 74 65 72 61 63 | + kAECa|nInterac|
|00002b60| 74 2c 20 6b 41 45 4e 6f | 72 6d 61 6c 50 72 69 6f |t, kAENo|rmalPrio|
|00002b70| 72 69 74 79 2c 20 33 36 | 30 30 2c 20 4e 55 4c 4c |rity, 36|00, NULL|
|00002b80| 2c 20 4e 55 4c 4c 29 3b | 0d 0d 09 09 09 2f 2a 0d |, NULL);|...../*.|
|00002b90| 09 09 09 09 4e 4f 54 45 | 3a 20 53 69 6e 63 65 20 |....NOTE|: Since |
|00002ba0| 77 65 20 61 72 65 20 6e | 6f 74 20 72 65 71 75 65 |we are n|ot reque|
|00002bb0| 73 74 69 6e 67 20 61 20 | 72 65 70 6c 79 2c 20 77 |sting a |reply, w|
|00002bc0| 65 20 64 6f 20 6e 6f 74 | 20 6e 65 65 64 20 74 6f |e do not| need to|
|00002bd0| 0d 09 09 09 09 6e 65 65 | 64 20 74 6f 20 64 69 73 |.....nee|d to dis|
|00002be0| 70 6f 73 65 20 6f 66 20 | 74 68 65 20 72 65 70 6c |pose of |the repl|
|00002bf0| 79 41 45 2e 20 20 49 74 | 20 69 73 20 74 68 65 72 |yAE. It| is ther|
|00002c00| 65 20 73 69 6d 70 6c 79 | 20 61 73 20 61 20 0d 09 |e simply| as a ..|
|00002c10| 09 09 09 70 6c 61 63 65 | 68 6f 6c 64 65 72 2e 0d |...place|holder..|
|00002c20| 09 09 09 2a 2f 0d 09 09 | 7d 0d 0d 09 09 2f 2a 20 |...*/...|}..../* |
|00002c30| 61 6e 64 20 6f 66 20 63 | 6f 75 72 73 65 20 64 69 |and of c|ourse di|
|00002c40| 73 70 6f 73 65 20 6f 66 | 20 74 68 65 20 71 75 69 |spose of| the qui|
|00002c50| 74 20 41 45 56 54 20 69 | 74 73 65 6c 66 20 2a 2f |t AEVT i|tself */|
|00002c60| 0d 09 09 65 72 72 20 3d | 20 41 45 44 69 73 70 6f |...err =| AEDispo|
|00002c70| 73 65 44 65 73 63 28 26 | 71 75 69 74 41 45 29 3b |seDesc(&|quitAE);|
|00002c80| 0d 09 7d 0d 7d 0d 0d 00 | 00 00 00 00 00 00 00 00 |..}.}...|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 01 00 00 00 01 92 | 00 00 00 92 00 00 00 66 |........|.......f|
|00002d10| 2a 0d 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |*.******|********|
|00002d20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002d30| 09 44 53 55 74 69 6c 73 | 2e 63 02 00 00 00 50 61 |.DSUtils|.c....Pa|
|00002d40| 72 74 53 49 54 21 00 00 | 00 00 00 00 00 00 00 02 |rtSIT!..|........|
|00002d50| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00002d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d70| 00 00 ab ed 4e fc 00 00 | 00 00 00 00 01 f8 56 20 |....N...|......V |
|00002d80| 49 20 53 20 49 20 4f 20 | 4e 20 20 20 48 20 49 20 |I S I O |N H I |
|00002d90| 53 20 54 20 4f 20 52 20 | 59 0d 2a 2a 2a 2a 2a 2a |S T O R |Y.******|
|00002da0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002db0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002dc0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002dd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002de0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 2a 2a 0d 2a 2a 09 |********|*.**.**.|
|00002df0| 20 20 44 61 74 65 09 09 | 54 69 6d 65 09 41 75 74 | Date..|Time.Aut|
|00002e00| 00 00 00 1e 00 56 00 18 | 01 78 02 7c 00 56 00 18 |.....V..|.x.|.V..|
|00002e10| 01 78 02 7c 00 00 14 30 | 00 00 00 00 00 00 00 00 |.x.|...0|........|
|00002e20| 00 00 00 00 00 18 02 00 | 80 00 00 00 03 32 2e 30 |........|.....2.0|
|00002e30| 0d 44 72 6f 70 53 68 65 | 6c 6c 20 32 2e 30 00 00 |.DropShe|ll 2.0..|
|00002e40| 00 48 00 09 4d 6f 6e 61 | 63 6f 00 00 00 00 00 00 |.H..Mona|co......|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 03 00 04 | 00 7c 00 0e 01 83 02 6d |........|.|.....m|
|00002e70| 00 7c 00 0e 01 83 02 6d | ab e9 64 ec 00 00 00 00 |.|.....m|..d.....|
|00002e80| 00 00 00 00 00 00 00 00 | 01 00 00 00 00 04 00 01 |........|........|
|00002e90| 00 01 00 00 01 00 00 00 | 01 92 00 00 00 92 00 00 |........|........|
|00002ea0| 00 66 00 75 85 18 0f cc | 00 00 00 1c 00 66 00 02 |.f.u....|.....f..|
|00002eb0| 4d 50 53 52 00 01 00 1a | 76 65 72 73 00 00 00 32 |MPSR....|vers...2|
|00002ec0| 4d 57 42 42 00 00 00 3e | 03 f0 ff ff 00 00 00 00 |MWBB...>|........|
|00002ed0| 00 00 00 00 03 ed ff ff | 00 00 00 3e 00 00 00 00 |........|...>....|
|00002ee0| 00 02 ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|00002ef0| 00 00 00 8a 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+